OREG.editProfile = function() {
   document.location = OREG.contextPath + '/edit_profile.html';
};
OREG.changePassword = function() {
   document.location = OREG.contextPath + '/change_password.html';
};
OREG.logout = function() {
	AJS.$.ajax({
		type: 'post',
		ajax: false,
		url: OREG.contextPath + '/system/logout',
		data: {},
		success: function(response){
			document.location = OREG.contextPath + '/logout.html';
		},
		error: function(e){ AJS.log(e); alert(e) }
	});
}